﻿<ctrls:SmartpartControl x:Class="SBPweb.PROvibe.Client.Modules.Controls.Media"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ctrls="clr-namespace:SBPweb.PROvibe.Client.Framework.Controls;assembly=SBPweb.PROvibe.Client.Framework.Controls"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot">
        <MediaElement Name="meVideo"
                      AutoPlay="True"
                      Stretch="Uniform"
                      Source="http://www.longtailvideo.com/jw/upload/silverlight.wmv"
                      HorizontalAlignment="Stretch"
                      VerticalAlignment="Stretch"
        />
        <ctrls:ContextMenu Name="cmVideoPopup">
            <ctrls:ContextMenu.Content>
                <TextBlock Text="Play" Foreground="White" />
            </ctrls:ContextMenu.Content>
        </ctrls:ContextMenu>
    </Grid>
</ctrls:SmartpartControl>
